//
//  MyUserCell.m
//  Nidalee
//
//  Created by bug neo on 01/12/2020.
//  Copyright © 2020 李康. All rights reserved.
//

#import "MyUserCell.h"

@interface MyUserCell ()
@property (weak, nonatomic) IBOutlet UILabel *lb_name;

@property (weak, nonatomic) IBOutlet UIButton *btn_settign;
@property (weak, nonatomic) IBOutlet UIView *view_back;

@end

@implementation MyUserCell


#pragma mark - Public Method

#pragma mark - Life Cycle
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self initAllPropertys];
    [self setupUI];
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
 }

#pragma mark - Data Query

#pragma mark - Notification

#pragma mark - UI
- (void)initAllPropertys {
    self.lb_name.text = @"点击登录";
}

- (void)setupUI {
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(goLogin)];
    [self.lb_name addGestureRecognizer:tap];
}
#pragma mark - Delegate

#pragma mark - Private Method

#pragma mark - Overwrite Method

#pragma mark - Event Response

- (IBAction)clickSetting:(id)sender {
    NSLog(@"点击设置");
}

- (void)goLogin {
    NSLog(@"点击登录");
}
#pragma mark - Setter

#pragma mark - Getter

@end
